home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 08 - 1992 / 08.04 Aug 92 / Hello TCL World / TextWindow.h < prev   
Encoding:
C/C++ Source or Header  |  1991-05-20  |  715 b   |  38 lines  |  [TEXT/KAHL]

  1. /*                        TextWindow.h                    */
  2. /*
  3.  * TextWindow
  4.  *    Superclass:    AuxWindow
  5.  */ 
  6. #define _H_TextBox
  7. #include <CApplication.h>
  8. #include <CPane.h>
  9. #include "AuxWindow.h"
  10. #include "TextPane.h"
  11.  
  12. struct TextWindow : AuxWindow {
  13.     struct TextPane        *itsTextPane;
  14.  
  15.     /*
  16.      * Create a text window. The parameters
  17.      * are passed on to AuxWindow (except
  18.      * for fontName and fontSize that are
  19.      * needed by the TextPane.
  20.      */
  21.     void                    ITextWindow(
  22.         CApplication    *aSupervisor,
  23.         short            aWindowId,
  24.         Boolean            isFloating,
  25.         Boolean            hideOnSuspend,
  26.         long            toggleCmd,
  27.         short            showHideRes,
  28.         StringPtr        fontName,
  29.         short            fontSize
  30.     );
  31.     /*
  32.      * Write a message into the TextPane.
  33.      */
  34.     void                    SetText(
  35.         StringPtr        someText
  36.     );
  37. };
  38.